#ifndef APP_H
#define APP_H

#include <QObject>
#include <QtGui/QGuiApplication>
#include <QtQml/QQmlApplicationEngine>
#include <QWindow>

#include "utils/conf.h"

#define MAIN_VIEW QUrl( "qrc:/qml/view/coletor_pcp.qml" )

class APP : public QObject
{
    Q_OBJECT

public:
    explicit APP(QObject *parent = 0){}

    int exec(QGuiApplication& app);
    static void clearScreen();

public slots:
    void close();

private:
    QQmlApplicationEngine engine;
    QWindow* mainWindow;

signals:

};

#endif // APP_H
